<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>所有招聘的职位</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/static/common/plugin/bootstrap-3.3.5/css/bootstrap.min.css">
</head>
<body>
	<a href="<%=request.getContextPath()%>/view/talent/talent-register.jsp">求职者注册</a>&nbsp;<a href="<%=request.getContextPath()%>/view/talent/talent-login.jsp">求职者登录</a>
	<hr>
	<center><h1>最近招聘职位</h1></center>
	<hr>
	<c:forEach items="${positionList }" var="position">
		${position.company$name }　　"${position.company$slogan }"  <br>
		<a href="<%=request.getContextPath()%>/PositionServlet?command=get&id=${position.id}">${position.name }</a> 　　${position.salary1 }-${position.salary2 }　　 ${position.company$address }　　<fmt:formatDate value="${position.releaseTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
		<hr/>
	</c:forEach>
		<script src="<%=request.getContextPath() %>/static/common/plugin/jquery.min.js"></script>
		<script src="<%=request.getContextPath() %>/static/common/plugin/bootstrap-3.3.5/js/bootstrap.min.js"></script>
</body>
</html>